package org.example.entity;

import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;

/**
 * @BelongsProject: StudentSystem
 * @BelongsPackage: org.example.entity
 * @Author: StarBonny
 * @CreateTime: 2024-12-22  23:40
 * @Description: 试卷实体类
 * @Version: 1.0
 */
public class ExamPaper {
    private int examPaperId;
    private String name;
    private Date examDuration;
    private int totalScore;
    private int teacherIdFk;
    private Date submitDate;

    @Override
    public String toString() {
        return "ExamPaper{" +
                "examPaperId=" + examPaperId +
                ", name='" + name + '\'' +
                ", examDuration=" + examDuration +
                ", totalScore=" + totalScore +
                ", teacherIdFk=" + teacherIdFk +
                ", submitDate=" + submitDate +
                '}';
    }

    public int getExamPaperId() {
        return examPaperId;
    }

    public void setExamPaperId(int examPaperId) {
        this.examPaperId = examPaperId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getExamDuration() {
        return examDuration;
    }

    public void setExamDuration(Date examDuration) {
        this.examDuration = examDuration;
    }

    public int getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(int totalScore) {
        this.totalScore = totalScore;
    }

    public int getTeacherIdFk() {
        return teacherIdFk;
    }

    public void setTeacherIdFk(int teacherIdFk) {
        this.teacherIdFk = teacherIdFk;
    }

    public Date getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(Date submitDate) {
        this.submitDate = submitDate;
    }

    public ExamPaper() {}

    public ExamPaper(int examPaperId, String name, Date examDuration, int totalScore, int teacherIdFk, Date submitDate) {
        this.examPaperId = examPaperId;
        this.name = name;
        this.examDuration = examDuration;
        this.totalScore = totalScore;
        this.teacherIdFk = teacherIdFk;
        this.submitDate = submitDate;
    }
}
